﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Daemon.Model
{
    [Table("admin_dictionary")]
    public partial class AdminDictionary
    {


        [Key]
        [Column("Id")]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]

        public int Id { get; set; }

        public string Name { get; set; }

        public string Value { get; set; }

        public string Remark { get; set; }

        public string Meaning { get; set; }

        public int ParentId { get; set; }

        public DateTime AddTime { get; set; }

        public DateTime UpdateTime { get; set; }

        public int AddUserId { get; set; }

        public int UpdateUserId { get; set; }

        [ForeignKey("AddUserId")]
        public virtual AdminUser AddUser { get; set; }

        [ForeignKey("UpdateUserId")]
        public virtual AdminUser UpdateUser { get; set; }

    }
}
